package com.yxp.easy.permissionutil.adapter;

import android.view.View;
import android.view.ViewGroup;

import com.yxp.easy.permissionutil.Indo;
import com.yxp.easy.permissionutil.R;

import java.util.List;

/**
 * Created by Administrator on 2016/4/19.
 */
public class IndexAdapter extends BaseRecyclerViewAdapter<Indo, IndexAdapter.IndexViewHolder> {

    public IndexAdapter(List<Indo> list) {
        super(list);
    }


    @Override
    protected void bindDataToItemView(IndexViewHolder myViewHolder, Indo item) {

    }


    @Override
    public IndexViewHolder onCreateViewHolder(ViewGroup viewGroup, int type) {

        return new IndexViewHolder(inflateItemView(viewGroup, R.layout.index_item));

    }


    public class IndexViewHolder extends BaseRecyclerViewAdapter.SparseArrayViewHolder {
        public IndexViewHolder(View itemView) {
            super(itemView);

        }


    }

}
